package com.javatiaocao.myblog.mapper;

import com.javatiaocao.myblog.model.FriendLink;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface FriendLinkMapper {
    List<FriendLink> getFriendLink();

    void updateFriendLink(FriendLink friendLink);

    void addFriendLink(FriendLink friendLink);

    Boolean isExistFriendLink(String url);

    void deleteFriendLink(String id);
}
